-- GENERATED SPELL FOR [Woodlands Walker] --


function spell0_26421(pUnit, Event) --@Toughen Hide,Self--
pUnit:FullCastSpellOnTarget(50994,pUnit)
pUnit:RegisterEvent('Sorts_26421', 15341, 1)
end

function Sorts_26421(pUnit, Event)
local choix_sorts_26421 = math.random(0, 0)
if choix_sorts_26421 == 0 then
pUnit:RegisterEvent('spell0_26421', 1, 1)
end
end

function mob26421_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26421', math.random(1500, 3000), 1)
end

function mob26421_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26421_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26421_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26421, 1, 'mob26421_Action')
RegisterUnitEvent(26421, 2, 'mob26421_Leave')
RegisterUnitEvent(26421, 3, 'mob26421_Kill')
RegisterUnitEvent(26421, 4, 'mob26421_Die')
